function Overview({ posts }) {
  console.log('数据源', posts);
  return <div>{posts}</div>
}

export async function generateStaticParams() {
  let data = await fetch('https://api.vercel.app/blog');
  const posts = await data.json();
  console.log(posts);
  return {
    props: {
      posts,
    }
  }
}

export default Overview;